<!DOCTYPE html>
<html>
<head>
    <title>门店列表</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../../css/main.css">
    <link rel="stylesheet" href="../../../css/validation.css">
    <link rel="stylesheet" type="text/css"
          href="../../../plugins/webuploader/css/webuploader.css">
    <link rel="stylesheet" type="text/css"
          href="../../../plugins/webuploader/css/auto.css">
    <script src="../../../libs/jquery.min.js"></script>
    <script src="../../../plugins/layer/layer.js"></script>
    <script src="../../../libs/bootstrap.min.js"></script>
    <script src="../../../libs/vue.min.js"></script>
    <!--<script src="../../../libs/messages_cn.js"></script> -->
    <script src="../../../libs/jquery.validate.min.js"></script>
    <script src="../../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../../js/common.js"></script>
    <script src="../../../libs/ajaxupload.js"></script>
    <script type="text/javascript"
            src="../../../plugins/webuploader/js/webuploader_back.js"></script>
    <script type="text/javascript"
            src="../../../plugins/webuploader/js/auto_back.js"></script>
    <script type="text/javascript"
            src="../../../plugins/webuploader/js/auto_back.js"></script>
</head>
<body>
<div id="dcapp" v-cloak>
    <div class="panel panel-default">
        <div class="panel-heading">{{title}}</div>
        <form class="form-horizontal">

            <div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">店名(签购单名称)</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stoeNm"
                               v-validate="'required|max:15'"
                               name="店名(签购单名称)"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">结算账户</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stlOac"
                               v-validate="'required|max:15'"
                               name="结算账户"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">户名</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.bnkAcnm"
                               v-validate="'required|max:15'"
                               name="户名"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">身份证号</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.icrpIdNo"
                               v-validate="'required|max:15'"
                               name="身份证号"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">身份证有限期</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stlOac"
                               v-validate="'required|max:15'"
                               name="身份证有限期"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">联行行号</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.wcLbnkNo"
                               v-validate="'required|max:15'"
                               name="联行行号"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">结算账户</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stlOac"
                               v-validate="'required|max:15'"
                               name="结算账户"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">营业执照号</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.busLicNo"
                               v-validate="'required|max:15'"
                               name="营业执照号"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">营业执照名</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.bseLiceNm"
                               v-validate="'required|max:15'"
                               name="营业执照名"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">法人姓名</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.crpNm"
                               v-validate="'required|max:15'"
                               name="法人姓名"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">营业执照有限期</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stlOac"
                               v-validate="'required|max:15'"
                               name="营业执照有限期"/>
                        <!--<span v-show="errors.has('门店名称')" class="help">{{ errors.first('门店名称') }}</span>-->
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">营业执照地址</div>
                    <div class="col-sm-10 img">
                        <div name="areaDiv">
                            <select name="cardProvince" id="cardProvince" class="required selector1 form-control"
                                    v-model="store.province" :areaCode="store.province"></select>
                            <select name="cardCity" id="cardCity" class="required selector1 form-control"
                                    v-model="store.city" :areaCode="store.city"></select>
                            <select name="cardDistrict" id="cardDistrict" class="required selector1 form-control"
                                    v-model="store.district" :areaCode="store.district"></select>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">经营范围</div>
                    <div class="col-sm-10">
                        <select class="form-control required" v-model="store.bizTypeId" v-validate="'required'"
                                name="经营范围">
                            <option v-for="option in options" :value="option.id">
                                {{ option.name }}
                            </option>
                        </select>
                        <!--<span v-show="errors.has('经营范围')" class="help">{{ errors.first('经营范围') }}</span>-->

                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-2 control-label">联系人</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stoeCntNm"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">联系人手机号</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stoeCntTel"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">商户地址</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.stoeAdds"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">终端数量</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.trmRec"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">联系人邮箱</div>
                    <div class="col-sm-10">
                        <input type="text" class="form-control required" v-model="xdLMerchantReportInfo.mailbox" value="ysdmys89757@163.com"/>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-2 control-label">结算标志</div>
                    <div class="col-sm-10">
                        <select v-model="xdLMerchantReportInfo.stlSign" class="form-control">
                            <option value="1">对私账户</option>
                            <option value="0">对公账户</option>
                        </select>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-2 control-label">商家类型</div>
                    <div class="col-sm-10 img">
                        <div name="areaDiv">
                            <select class="selector" id="firstType_w" onchange="findSecondType(1,this,'_w')">
                                <option value="">请选择</option>
                            </select>
                            <select   class="selector" id="secondType_w" onchange="findThirdType(1,this,'_w')">
                                <option value="">请选择</option>
                            </select>
                            <select class="selector" id="thirdType_w">
                                <option value="">请选择</option>
                            </select>
                            <input type="hidden"   name="mccCd" v-model="xdLMerchantReportInfo.mccCd"  id="bizId_w">
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-sm-2 control-label"></div>
                    <input type="button" class="btn btn-primary" @click="saveOrUpdate" value="确定"/>
                    &nbsp;&nbsp;<input type="button" class="btn btn-warning" @click="reload" value="返回"/>
                </div>
            </div>
        </form>
        <!-- 仅放大显示 -->
        <div id="imgId" style="display: none;">
            <img alt="" src="" id="showimg" width="800px">
        </div>
    </div>
</div>

<script src="../../../js/modules/merchant/store/XDL.js"></script>
</body>
</html>